package com.aaa.boot.mapper;

import com.aaa.boot.pojo.dto.AdminDTO;
import org.apache.ibatis.annotations.Param;

public interface AdminMapper {
    AdminDTO login(@Param("phone") String phone, @Param("password") String password);

    int register(@Param("userName")String userName, @Param("phone") String phone, @Param("password") String password);
}
